package com.woniuxy.caradmin.service;

import com.woniuxy.caradmin.entity.pojo.Feerecord;
import com.woniuxy.caradmin.entity.vo.FeerecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
public interface FeerecordService  {
    //查询全部的规费记录
    public List<Feerecord> selectAllFeeRecord(FeerecordVo feerecordVo);

    //1 分页查询
    public List<Feerecord> selectAllBy(FeerecordVo feerecordVo);

    //根据车牌号模糊查询
    public List<Feerecord> selectAllFeeRecordByVid(String vehiclenum);

    //2 增加规费记录
    public int addFeeRecord(Feerecord feerecord);

    //5 修改规费记录
    public int updateFeeRecord(Feerecord feerecord);

    //3 删除规费记录
    public boolean deleteFeeRecord(Integer[] ids);

    //4 根据id查询--为了修改使用
    public Feerecord feeRecordById(Integer id);
}
